package nl.justobjects.pushlet.core;

public class NackEvent extends Event {
	public NackEvent() {
        super(E_NACK);
    }

    @Override
    public String toQueryString() {
        return super.toQueryString();
    }

    @Override
    public String toXML(boolean strict) {
        return super.toXML(strict);
    }

    @Override
    public String toJSON() {
    	/*StringBuilder sb = new StringBuilder(128);
        sb.append("{\"").append(P_EVENT).append("\":\"").append(E_NACK).append("\",\"")
        		.append(P_ID).append("\":\"").append(getField(P_ID)).append("\",\"")
                .append(P_REASON).append("\":").append(getField(P_REASON)).append("}");
        return sb.toString();*/
    	return appendToJSON();
    }

    @Override
    public String toXML() {
        return super.toXML();
    }
}
